From: Florian Müllner Date: Sat, 4 Feb 2023 22:01:03 +0000 (+0100) Subject: workspacesView: Remove obsolete cleanup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~84 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f0b4dd648c901fdb719c801d7f7af919fc78f7b1;p=gnome-shell.git workspacesView: Remove obsolete cleanup Since commit a9f11b1f5a3e9, we no longer set up a later on parent-set, so there's nothing to clean up. Part-of: --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 930b720b3..29d1c65f1 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -854,16 +854,6 @@ class WorkspacesDisplay extends St.Widget { this._leavingOverview = false; this._gestureActive = false; // touch(pad) gestures - - this.connect('destroy', this._onDestroy.bind(this)); - } - - _onDestroy() { - if (this._parentSetLater) { - const laters = global.compositor.get_laters(); - laters.remove(this._parentSetLater); - this._parentSetLater = 0; - } } _windowDragBegin() {